package org.adream.account.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 认证
 * 
 * @author sl
 *
 */
public class UserVerifyEntity extends PubClass implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8020472618978272652L;

	private String uid;

	private RealNameTmpEntity realNameTmp;

	private String rleId;

	private RoleEntity role;

	private Integer sort;

	private String contact;

	private String phone;

	private String email;

	private String company;

	private String sid; // 梦想教师认证:学校id

	private SchoolEntity school; // 学校

	private String subject; // 所教科目  //运动梦想课用作所学专业

	private Integer gid;

	private GradeEntity grade; // 级别

	private String job; // 教师：职务 政府：联系人职位

	private Integer eduAge; // 教龄

	private String creCode; // 企业/社会组织:统一社会信用代码

	private String crePic; // 企业:执照 社会组织:营业注册说明 专项基金:资质认证证书

	private Integer categoryId; // 企业:行业类别 政府:政府类别 社会组织:机构类别 专项基金:机构类别

	private CategoryEntity category;

	private Integer province;

	private Integer city;

	private Integer area;

	private String address;

	private String speciality; // 志愿者:特长

	private Integer bsId;  //企业规模id
	
	private BusinessScaleEntity scale;
	
	private String mainBusiness; // 主营业务

	private Integer etid; // 经济类型id

	private EconomicTypeEntity economicType;

	private Long regFund; // 注册资金

	private String resume; // 社会组织:法人代表简历

	private String annuSurvey; // 年检报告

	private String stuff; // 认证材料

	private String createConCopy; // 设立合同扫描件

	private String excuteConCopy; // 执行合同扫描件

	private String intro; // 简介

	private Integer state; // 认证状态 1:认证中 2:认证成功 3:认证失败 4：认证过期
	
	private Integer validDate;  //认证有效期(单位:天)

	private String checkResult; // 认证结果

	private Date verifySuccessts; // 认证成功时间
	
	private String autoCheckResult; //自动审核结果
	
	private Integer cpYear;	//教练计划年份
	
	private Integer cpRleId; //教练计划角色id
	
	private CoachPlanRoleEntity coachPlanRole;
	
	private int isAdream;	//教练计划认证:机构是否为基金会
	
	//社会组织认证后续追加字段
	//start
	@JSONField(format = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private	Date birthday;		//机构注册时间
	
	private String mainProject; //主要公益项目介绍
	
	private String wechat;	//微信
	//end
	
	//社区认证后续追加字段
	//start
	private String communityName; //社区名称
	
	private String cacName; //社区梦想中心名称 community adream center = cac
	
	private String cacCode; //社区梦想中心编码 community adream center = cac
	//end
	
	//学生认证后续追加字段
	//start
	private String education; //学历 "P">小学    "J">初中   "H">高中 
		
	private String enrollmentYear; //入学年份
	//end
	
	
	//页面封装获取数据用  ====收货地址
	//start
	
	//单独直接 set 方法
	//end
	
	private String sex;//F,M  ，默认空
	private String isSports; //是否体育专业 Y,N ,默认空
	private String hasDreamCenter;//学校是否建有梦想中心 Y,N ,默认空
	private Integer location; //学校所在地区  code值 ;提示  区号  回显页面时 插件会显示省市区
	private String schoolString;// 手填学校名字
	
	
	private String asid; //学校新 id字段
	
	private String asname; //学校新
	
	// 审核人uname
	private String mUname;
	
	public String getAsname() {
		return asname;
	}

	public void setAsname(String asname) {
		this.asname = asname;
	}

	public String getAsid() {
		return asid;
	}

	public void setAsid(String asid) {
		this.asid = asid;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public String getIsSports() {
		return isSports;
	}

	public void setIsSports(String isSports) {
		this.isSports = isSports;
	}

	public String getHasDreamCenter() {
		return hasDreamCenter;
	}

	public void setHasDreamCenter(String hasDreamCenter) {
		this.hasDreamCenter = hasDreamCenter;
	}

	public Integer getLocation() {
		return location;
	}

	public void setLocation(Integer location) {
		this.location = location;
	}

	public String getSchoolString() {
		return schoolString;
	}

	public void setSchoolString(String schoolString) {
		this.schoolString = schoolString;
	}

	public String getUid() {
		return uid;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getEnrollmentYear() {
		return enrollmentYear;
	}

	public void setEnrollmentYear(String enrollmentYear) {
		this.enrollmentYear = enrollmentYear;
	}

	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public String getCacName() {
		return cacName;
	}

	public void setCacName(String cacName) {
		this.cacName = cacName;
	}

	public String getCacCode() {
		return cacCode;
	}

	public void setCacCode(String cacCode) {
		this.cacCode = cacCode;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public RealNameTmpEntity getRealNameTmp() {
		return realNameTmp;
	}

	public void setRealNameTmp(RealNameTmpEntity realNameTmp) {
		this.realNameTmp = realNameTmp;
	}

	public String getRleId() {
		return rleId;
	}

	public void setRleId(String rleId) {
		this.rleId = rleId;
	}

	public RoleEntity getRole() {
		return role;
	}

	public void setRole(RoleEntity role) {
		this.role = role;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public SchoolEntity getSchool() {
		return school;
	}

	public void setSchool(SchoolEntity school) {
		this.school = school;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public GradeEntity getGrade() {
		return grade;
	}

	public void setGrade(GradeEntity grade) {
		this.grade = grade;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Integer getEduAge() {
		return eduAge;
	}

	public void setEduAge(Integer eduAge) {
		this.eduAge = eduAge;
	}

	public String getCreCode() {
		return creCode;
	}

	public void setCreCode(String creCode) {
		this.creCode = creCode;
	}

	public String getCrePic() {
		return crePic;
	}

	public void setCrePic(String crePic) {
		this.crePic = crePic;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public CategoryEntity getCategory() {
		return category;
	}

	public void setCategory(CategoryEntity category) {
		this.category = category;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSpeciality() {
		return speciality;
	}

	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	public Integer getBsId() {
		return bsId;
	}

	public void setBsId(Integer bsId) {
		this.bsId = bsId;
	}

	public BusinessScaleEntity getScale() {
		return scale;
	}

	public void setScale(BusinessScaleEntity scale) {
		this.scale = scale;
	}

	public String getMainBusiness() {
		return mainBusiness;
	}

	public void setMainBusiness(String mainBusiness) {
		this.mainBusiness = mainBusiness;
	}

	public Integer getEtid() {
		return etid;
	}

	public void setEtid(Integer etid) {
		this.etid = etid;
	}

	public EconomicTypeEntity getEconomicType() {
		return economicType;
	}

	public void setEconomicType(EconomicTypeEntity economicType) {
		this.economicType = economicType;
	}

	public Long getRegFund() {
		return regFund;
	}

	public void setRegFund(Long regFund) {
		this.regFund = regFund;
	}

	public String getResume() {
		return resume;
	}

	public void setResume(String resume) {
		this.resume = resume;
	}

	public String getAnnuSurvey() {
		return annuSurvey;
	}

	public void setAnnuSurvey(String annuSurvey) {
		this.annuSurvey = annuSurvey;
	}

	public String getStuff() {
		return stuff;
	}

	public void setStuff(String stuff) {
		this.stuff = stuff;
	}

	public String getCreateConCopy() {
		return createConCopy;
	}

	public void setCreateConCopy(String createConCopy) {
		this.createConCopy = createConCopy;
	}

	public String getExcuteConCopy() {
		return excuteConCopy;
	}

	public void setExcuteConCopy(String excuteConCopy) {
		this.excuteConCopy = excuteConCopy;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getValidDate() {
		return validDate;
	}

	public void setValidDate(Integer validDate) {
		this.validDate = validDate;
	}

	public String getCheckResult() {
		return checkResult;
	}

	public void setCheckResult(String checkResult) {
		this.checkResult = checkResult;
	}

	public Date getVerifySuccessts() {
		return verifySuccessts;
	}

	public void setVerifySuccessts(Date verifySuccessts) {
		this.verifySuccessts = verifySuccessts;
	}
	
	public String getAutoCheckResult() {
		return autoCheckResult;
	}

	public void setAutoCheckResult(String autoCheckResult) {
		this.autoCheckResult = autoCheckResult;
	}

	public Integer getCpYear() {
		return cpYear;
	}

	public void setCpYear(Integer cpYear) {
		this.cpYear = cpYear;
	}

	public Integer getCpRleId() {
		return cpRleId;
	}

	public void setCpRleId(Integer cpRleId) {
		this.cpRleId = cpRleId;
	}
	
	public CoachPlanRoleEntity getCoachPlanRole() {
		return coachPlanRole;
	}

	public void setCoachPlanRole(CoachPlanRoleEntity coachPlanRole) {
		this.coachPlanRole = coachPlanRole;
	}
	
	public int getIsAdream() {
		return isAdream;
	}

	public void setIsAdream(int isAdream) {
		this.isAdream = isAdream;
	}
	
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getMainProject() {
		return mainProject;
	}

	public void setMainProject(String mainProject) {
		this.mainProject = mainProject;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getmUname() {
		return mUname;
	}

	public void setmUname(String mUname) {
		this.mUname = mUname;
	}

	@Override
	public String getTable() {
		return "acc_user_verify";
	}
}